package com.carleasoft.mps.adu.business.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.adu.business.user.bean.entity.AuthorityUserDept;
import com.carleasoft.mps.adu.business.user.bean.po.AuthorityUserPo;
import com.carleasoft.mps.adu.business.user.bean.po.UserQueryPO;
import com.carleasoft.mps.adu.business.user.bean.vo.AuthorityUserDetailVo;
import com.carleasoft.mps.core.user.SortPo;

import java.util.List;


/**
 * <p>
 * 部门信息表 服务类
 * </p>
 *
 * @author ztm
 * @since 2021-09-09
 */
public interface AuthorityUserDeptService extends IService<AuthorityUserDept> {

    /**
     * 排序
     * @param sortPo
     * @return
     */
    Boolean updateSort(SortPo sortPo);

    /**
     * 获取信息列表,分页
     *
     * @param page,authorityUserAllInfoVo
     * @return List
     */
    Page pageQuery(Page page, UserQueryPO userQueryPO);

    /**
     * 根据部门查询用户列表
     * @param
     * @return
     */

    List<AuthorityUserDetailVo> getByDept(UserQueryPO userQueryPO);

}
